package com.ostrich.a2104gao5;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.ostrich.a2104gao5.widget.ProgressView;

public class MainActivity2 extends AppCompatActivity {
    private ProgressView mProgressView;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        mProgressView = findViewById(R.id.progress_vieew);
        mProgressView.setRadius(500)
                .setTimestamp(5*60*1000)
                .setInfoText("站岗中")
                .startAnimation();
    }
}